package com.battleship;

public class GuesserBad implements Guesser {

    @Override
    public void play(Game game) {
        int x = 1;
        int y = 1;

        while (game.getShipsLeft() > 0) {
            game.guess(new Point(x, y));

            x++;
            if (x > 10) {
                x = 1;
                y++;
            }
        }
    }
}
